﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace My.Domain.Users
{
    /// <summary>
    /// 用户的领域
    /// </summary>
    public class User : BasicAggregateRoot<Guid>
    {
        private User()
        {

        }

        public User(Guid id, string userName, string password) : base(id)
        {
            UserName = userName;
            Password = password;
        }

        public string UserName { get; set; }

        public string Password { get; set; }
    }
}
